package cn.com.thingo.hyintelligent.base.contract;

import java.util.List;

import cn.com.thingo.hyintelligent.base.BasePresenter;
import cn.com.thingo.hyintelligent.base.BaseView;
import cn.com.thingo.hyintelligent.model.bean.BaseBean;
import cn.com.thingo.hyintelligent.model.bean.EzAddDevicePermissionBean;
import cn.com.thingo.hyintelligent.model.bean.EzDeleteDevicePermissionBean;
import cn.com.thingo.hyintelligent.model.bean.EzDeviceAuthorizationListBean;


public interface EzDeviceAuthorizationContract {
    interface View extends BaseView {

        void viewDeleteDevicePermission(BaseBean bean);

        void viewGetDevicePermissionList(BaseBean<List<EzDeviceAuthorizationListBean>> bean);
    }

    interface Presenter extends BasePresenter<EzDeviceAuthorizationContract.View> {

        void deleteEzDevicePermission(String accessToken, String tel, String toTel, String deviceSerial);

        void getDevicePermissionList(String accessToken, String tel, String toTel);
    }
}
